html {
	height:100%;
	margin:0;
	padding:0
}
body.signin {
	height:100vh;
	margin:0;
	padding:0;
	overflow-x:hidden;
	background:#f0f2f5;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover
}
.signinpanel {
	width:100%;
	max-width:none;
	margin:0;
	height:100vh;
	overflow:hidden;
	color:rgba(0,0,0,.85)
}
.signinpanel .logopanel {
	float:none;
	width:auto;
	padding:0;
	background:0 0
}
.signinpanel .signin-info ul {
	list-style:none;
	padding:0;
	margin:20px 0
}
.signinpanel .form-control {
	display: block;
	margin-top: 0;
	width: 100%;
	box-sizing: border-box;
}
.signinpanel .uname {
	background-image: none;
	color:#333
}
.signinpanel .pword {
	background-image: none;
	color:#333
}
.signinpanel .code {
    background-image: none;
    color:#333; 
    margin:0 0 15px 0;
}
.signinpanel .btn {
	margin-top:15px
}
.signinpanel form {
	background: transparent;
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	padding: 20px 15% 20px 25px;
}
.signin-bg {
	width:65%;
	height:100vh;
	float:left;
	margin:0;
	padding:0;
	background-color: #e8f6fe; /* RGB(232, 246, 254) */
	background-image: url(../img/login-background.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain; /* 改回contain确保图片完整显示且居中 */
	border-radius:0
}
.signin-info-mobile {
	margin-top:15px;
	text-align:center
}
.signup-footer {
	border-top:solid 1px rgba(0,0,0,.1);
	margin-top:auto;
	padding-top:15px;
	color:rgba(0,0,0,.5)
}
.signup-footer-right {
    margin-top: auto;
    padding: 15px;
    text-align: center;
    color: rgba(0,0,0,.5);
    font-size: 12px;
}

.signup-footer-right .pull-left {
    float: none !important;
    text-align: center;
    width: 100%;
}
@media screen and (max-width:768px) {
	.signinpanel,.signuppanel {
	margin:0 auto;
	width:380px!important;
	padding:20px
}
.signinpanel form {
	margin-top:20px
}
.signin-bg {
	display:none
}
.signup-footer,.signuppanel .form-control {
	margin-bottom:10px
}
.signup-footer .pull-left,.signup-footer .pull-right {
	float:none!important;
	text-align:center
}
.signinpanel .signin-info ul {
	display:none
}
body.signin {
	background-color: #e8f6fe; /* 与左侧背景色一致 RGB(232, 246, 254) */
	background-image: url(../img/login-background.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
}@media screen and (max-width:320px) {
	.signinpanel,.signuppanel {
	margin:0 20px;
	width:auto
}
}
/*
登录界面check样式
*/
.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    display: inline-block;
}
/*
将初始的checkbox的样式改变
*/
.checkbox-custom input[type="checkbox"] {
    opacity: 0; /*将初始的checkbox隐藏起来*/
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 3px;
}
/*
设计新的checkbox，位置
*/
.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #bbb;
    background: #fff;
}
/*
点击初始的checkbox，将新的checkbox关联起来
*/
.checkbox-custom input[type="checkbox"]:checked +label:after {
    position: absolute;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    top: 42%;
    left: 3px;
    margin-top: -5px;
    font-size: 11px;
    line-height: 1;
    width: 16px;
    height: 16px;
    color: #333;
}
.checkbox-custom label {
    cursor: pointer;
    line-height: 1.2;
    font-weight: normal; /*改变了rememberme的字体*/
    margin-bottom: 0;
    text-align: left;
}

.form-control, .form-control:focus, .has-error .form-control:focus,  .has-success .form-control:focus, .has-warning .form-control:focus,  .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus,  .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle,  .panel, .popover, .progress, .progress-bar {
    box-shadow: none;
}

.form-control {
    border-radius: 1px!important;
    padding: 6px 12px!important;
    height: 34px!important;
}

.form-control:focus {
    border-color: #1ab394 !important;
}

body .layer-ext-moon-msg[type="dialog"]{
    min-width: 100px !important;
}
body .layer-ext-moon-msg { 
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
}

body .layer-ext-moon-msg .layui-layer-content{ 
    padding: 12px 25px;
    text-align: center;
}

/* 右侧区域背景色 - 设置明显区分于左侧的背景色 */
body.signin .signinpanel .col-sm-4 {
    width: 35%;
    height: 100vh;
    float: left;
    margin: 0;
    padding: 30px 30px;
    background-color: #f5fbff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.login-title {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
}

.login-subtitle {
	text-align: center;
	position: relative;
	margin: 15px 0 25px;
	color: #666;
}

.login-subtitle:before, .login-subtitle:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 25%;
	height: 1px;
	background: #e8e8e8;
}

.login-subtitle:before {
	left: 0;
}

.login-subtitle:after {
	right: 0;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 5px;
	font-weight: normal;
	color: #333;
}

.form-label .required {
	color: #f56c6c;
	margin-right: 4px;
}

/* 输入框组样式重置 */
.input-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

/* 图标容器样式重置 */
.input-group-addon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0; /* 添加底部对齐 */
    height: 40px;
    width: 40px;
    background-color: #ebedf2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    z-index: 10;
    box-sizing: border-box;
    border: 1px solid #eaedf2; /* 添加与输入框一致的边框 */
    border-right: none; /* 移除右边框，与输入框无缝连接 */
}

.input-group-addon i {
	font-size: 18px;
	color: #4e73df;
}

.signinpanel .form-control {
	height: 40px !important;
	background-color: #eaedf2 !important;
	border-left: 3px solid #4e73df !important;
	border-top: 1px solid #eaedf2 !important;
	border-right: 1px solid #eaedf2 !important;
	border-bottom: 1px solid #eaedf2 !important;
	border-radius: 4px !important;
	padding-left: 50px !important;
	transition: all 0.3s;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.signinpanel .form-control:focus {
	border-left: 3px solid #4e73df !important;
	border-top: 1px solid #dcdfe6 !important;
	border-right: 1px solid #dcdfe6 !important;
	border-bottom: 1px solid #dcdfe6 !important;
	background-color: #fff !important;
}

.form-group .row .col-xs-6 .input-group {
	width: 100%;
	margin-bottom: 0;
}

.form-group .row .col-xs-6 .imgcode {
	height: 38px;
	border-radius: 4px;
	width: 100%;
}

.signinpanel .btn-login {
	background-color: #4e73df;
	border-color: #4e73df;
	height: 38px;
	font-size: 16px;
	border-radius: 4px;
	margin-top: 5px;
}

.signinpanel .btn-login:hover, .signinpanel .btn-login:focus {
	background-color: #3a5ccc;
	border-color: #3a5ccc;
}

.register-link {
	text-align: right;
	margin-top: 15px;
}

.register-link a {
	color: #4e73df;
	text-decoration: none;
}

.register-link a:hover {
	text-decoration: underline;
}

.imgcode {
	height: 40px;
	border-radius: 4px;
	width: 100%;
}

/* 新增扁平化表单样式 */
.form-item {
	display: flex;
	margin-bottom: 20px;
	align-items: center;
}

/* 固定宽度的标签区域 */
.form-item-label {
	width: 80px;
	text-align: right;
	padding-right: 15px;
	flex-shrink: 0;
	font-size: 14px;
	color: #333;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.form-item-label .required {
	color: #f56c6c;
	margin-right: 4px;
}

/* 输入框包装器 - 自适应宽度 */
.input-wrapper {
	flex: 1;
}

/* 验证码区域特殊处理 */
.captcha-wrapper {
	display: grid;
	grid-template-columns: 65% 35%;
	gap: 10px;
}

/* 输入框组占满宽度 */
.input-group {
	width: 100%;
	position: relative;
	margin-bottom: 0;
}

/* 验证码图片样式 */
.captcha-image {
	height: 40px;
}

.captcha-image a {
	display: block;
	height: 100%;
}

.captcha-image .imgcode {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	object-fit: cover;
}

/* 表单行样式 */
.signinpanel .form-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    height: 40px;
}

/* 标签样式 */
.signinpanel .form-item-label {
    flex: 0 0 80px;
    font-size: 14px;
    color: #333;
    text-align: right;
    padding-right: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
}

/* 必填星号 */
.signinpanel .required {
    color: #f56c6c;
    margin-right: 4px;
}

/* 输入区域容器 */
.signinpanel .input-wrapper {
    flex: 1;
    position: relative;
    height: 40px;
}

/* 输入组 */
.signinpanel .input-group {
    display: flex;
    width: 100%;
    height: 40px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* 图标容器 */
.signinpanel .input-group-addon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    background-color: #eaedf2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    border: 1px solid #eaedf2;
    border-right: none;
    box-sizing: border-box;
    z-index: 10;
}

/* 图标样式 */
.signinpanel .input-group-addon i {
    font-size: 18px;
    color: #4e73df;
}

/* 输入框 */
.signinpanel .form-control {
    flex: 1;
    height: 40px;
    background-color: #eaedf2 !important;
    border: 1px solid #eaedf2 !important;
    border-left: 3px solid #4e73df !important;
    border-radius: 0 4px 4px 0 !important;
    padding-left: 50px !important;
    box-sizing: border-box;
    width: 100%;
    display: block;
    transition: all 0.3s;
}

/* 验证码特殊处理 */
.signinpanel .captcha-wrapper {
    display: flex;
    gap: 5px;
    height: 40px;
}

.signinpanel .captcha-wrapper .input-group {
    flex: 0 0 58%;
}

.signinpanel .captcha-image {
    flex: 1;
    height: 40px;
}

.signinpanel .captcha-image a {
    display: block;
    height: 100%;
}

.signinpanel .captcha-image .imgcode {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

/* 普通输入框容器宽度限制（不含验证码） */
.signinpanel .form-item:not(:nth-child(3)) .input-wrapper {
    flex: 1;
    position: relative;
    height: 40px;
    max-width: 80%; /* 限制最大宽度 */
}

/* 验证码布局调整 */
.signinpanel .captcha-wrapper {
    display: flex;
    gap: 5px; /* 减少间隙从10px改为5px */
    height: 40px;
}

.signinpanel .captcha-wrapper .input-group {
    flex: 0 0 58%; /* 从65%减少到58% */
}

.signinpanel .captcha-image {
    flex: 1;
    height: 40px;
}

/* 重置复选框样式，使其在新的布局结构中正确显示 */
.form-item .checkbox-custom {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px 0 25px; /* 恢复原有内边距，确保文字不被勾选框遮挡 */
    position: relative; /* 保持原有定位方式 */
}